#include "User.h"
#include "server.h" 

int main()
{
  try
  {
    User user
    boost::asio::io_service io_service;
    tcp_server server(io_service);
    User user(server) ;
    server.setFuncRxMsg ( &user, User::RxMsgWrapper ) ;
    io_service.run();
  }
  catch (std::exception& e)
  {
    std::cerr << e.what() << std::endl;
  }

  return 0;
}